<template>
  <demoBlock title="标签栏滚动">
    <vcu-tabs v-model:active="active">
      <vcu-tab
        v-for="index in 8"
        :title="'标签 ' + index"
        :key="index"
        :disabled="index == 5"
      >
        内容 {{ index }}
      </vcu-tab>
    </vcu-tabs>
  </demoBlock>
</template>

<script>
import { defineComponent, ref } from "vue";

export default defineComponent({
  setup() {
    const active = ref(3);
    return { active };
  },
});
</script>
